package com.yuyou.fn.platform.service;

import com.yuyou.fn.platform.entity.Oauth;
import com.github.wens.framework.service.ISuperService;

/**
 *
 * Oauth 表数据服务层接口
 *
 */
public interface IOauthService extends ISuperService<Oauth,Long> {


    Oauth findByOpenId(String openId);

    void saveOauth(Long userId, String openId, Integer platform);
}